package org.csu.demopetstore.Persistence;

import org.apache.ibatis.annotations.Param;
import org.csu.demopetstore.entity.Item;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ItemMapper {

    List<Item> getItemList(@Param("productId")String productId);

    Item getItem(@Param("itemId")String itemId);
}
